package model

import "time"

// MeteringAccountToUser 账户与用户关联表
type MeteringAccountToUser struct {
	Id        uint64     `gorm:"primary_key" json:"id"`
	AccountId uint64     `gorm:"column:account_id" json:"account_id"` //账户id
	UserId    uint64     `gorm:"column:user_id" json:"user_id"`       //用户id
	CreatedAt time.Time  `gorm:"column:created_at" json:"created_at"` //创建时间
	UpdatedAt time.Time  `gorm:"column:updated_at" json:"updated_at"` //更新时间
	DeletedAt *time.Time `gorm:"column:deleted_at" json:"deleted_at"` //删除时间
}
